package test4;

public class ClassroomManager {
    public static void main(String[] args) {
        Student.setClassRoom("金燕龙110教室");
        Student s1=new Student("大郎",123);
        Student s2=new Student("金莲",321);
        System.out.println(s1.getID()+s1.getName()+"在"+Student.classRoom+" 自修");
        System.out.println(s2.getID()+s2.getName()+"在"+Student.classRoom+" 自修");
        System.out.println("换教室后");
        String change = change();
        Student.setClassRoom(change);
        System.out.println("换教室后");
        System.out.println(s1.getID()+s1.getName()+"在"+Student.classRoom+" 自修");
        System.out.println(s2.getID()+s2.getName()+"在"+Student.classRoom+" 自修");
    }
    public static String change(){
        String e="金燕龙111教室";
    return e;
    }
}
